package com.jingdianjichi.auth.domain.service;


import cn.dev33.satoken.stp.SaTokenInfo;
import com.jingdianjichi.auth.domain.entity.AuthUserBO;

import java.util.List;

/**
 * 用户领域Service
 */

public interface AuthUserDomainService {

    //用户注册
   Boolean register(AuthUserBO authUserBO);



   //更新用户信息
    Boolean update(AuthUserBO authUserBO);

    //删除用户
    Boolean delete(AuthUserBO authUserBO);

    //登录校验
    SaTokenInfo doLogin(String validCode);

    //根据user_name(openId)获取用户信息
    AuthUserBO getUserInfo(AuthUserBO authUserBO);

    List<AuthUserBO> listUserInfoByIds(List<String> ids);
}
